<?php

    namespace App\Admin\Tools\Finance;

    use Encore\Admin\Grid\Tools\AbstractTool;

    class ExpenseDeleteTool extends AbstractTool
    {
        private int $id;

        public function __construct(int $id)
        {
            $this->id = $id;
        }

        /**
         * @inheritDoc
         */
        public function render()
        {
            return view('finance.expense_delete', [
                'id' => $this->id,
            ]);
        }
    }
